-- GENERATED SPELL FOR [Web Wrap] --


function spell0_28619(pUnit, Event) --@Web Wrap,n/a--
pUnit:FullCastSpellOnTarget(52094,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28619', 660, 1)
end

function Sorts_28619(pUnit, Event)
local choix_sorts_28619 = math.random(0, 0)
if choix_sorts_28619 == 0 then
pUnit:RegisterEvent('spell0_28619', 1, 1)
end
end

function mob28619_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28619', math.random(1500, 3000), 1)
end

function mob28619_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28619_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28619_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28619, 1, 'mob28619_Action')
RegisterUnitEvent(28619, 2, 'mob28619_Leave')
RegisterUnitEvent(28619, 3, 'mob28619_Kill')
RegisterUnitEvent(28619, 4, 'mob28619_Die')
